package com.jirefox.loner.runtime.model;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

public class ExtClassDriverServlet extends HttpServlet {

	public static final String DRIVER_GROUP_CLASSLOADER_KEY = "_driver_group_classloader_";

	private static final long serialVersionUID = 1L;

	@Override
	public void init() throws ServletException {
		ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
		this.getServletContext().setAttribute(DRIVER_GROUP_CLASSLOADER_KEY, contextClassLoader);
	}

}